Pronamic\WordPress\Pay\Gateways\Mollie\Gateway D

Total Complexity 196
Dependencies 37
Dependents 2
Total lines 1,618
Lines of code 870
Logical lines of code 576
Comment lines 381
Methods 22
Properties 4

Methods 22

Method Rating Maintainability Complexity Lines of code
update_payment_from_mollie_payment()
D
17
62 235
get_payment_request()
C
31 24 113
maybe_enrich_payment_methods()
B
40 19 56
create_customer_for_payment()
A
44 13 42
update_subscription_mandate()
A
45 12 40
has_valid_mandate()
A
48 12 32
copy_customer_id_to_wp_user()
A
48 8 34
start()
S
46 6 39
process_direct_debit_mandate_from_bank_details()
S
49 6 34
__construct()
S
35 1 101
get_webhook_url()
S
53 6 24
get_customer_ids_for_payment()
S
56 5 19
get_first_existing_customer_id()
S
57 5 18
create_refund()
S
52 4 24
get_profile_id()
S
63 2 11
get_payment_methods()
S
70 2 7
update_status()
S
67 2 8
get_customer_id_for_subscription()
S
69 2 7
get_mode()
S
79 2 3
get_retry_seconds()
S
66 1 8
get_customer_id_for_payment()
S
73 1 5
get_customer_ids_for_user()
S
64 1 10